package com.engine4cloud.tdf.supervision.dto.query;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * 矫正对象自定义电子围栏-请求对象
 *
 * @author wenjie
 * @date 2024-04-22 16:05:12
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@Schema(description = "矫正对象自定义电子围栏-请求对象")
public class JzdxCustomFenceQueryDTO implements Serializable {

    /**
     * 主键
     */
    @Schema(description = "主键")
    private Long id;

    /**
     * 矫正对象编号
     */
    @Schema(description = "矫正对象编号")
    private String rybh;

    /**
     * 所属围栏编号
     */
    @Schema(description = "所属围栏编号")
    private String lcbh;

    public JzdxCustomFenceQueryDTO(String code, String batch) {
        this.rybh = code;
        this.lcbh = batch;
    }
}